package com.uniview.entity.po;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.format.annotation.DateTimeFormat;
/**
 * 工单处理日志
 * @author Qingtian Lei
 *
 */
@Entity
@Table(name="sd_orders_logs")
public class ServiceOrdersLogs implements Serializable {

	private static final long serialVersionUID = -5444155868659624816L;
	
	@Id
	@GeneratedValue
	private Integer id;
	
	private Integer orderId;   // 工单ID
	
	private String handler;  // 处理内容
	
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;  //  处理时间
	
	private String creator;  //  处理人
	
	private String creatorNo;  //  处理人
	
	private int stauts;   //  状态
	
	private String reMark;  //  备注

	private String assignName;//指派工程师
	
	public ServiceOrdersLogs() {
	}
	
	public ServiceOrdersLogs(Integer orderId, String handler) {
		this.orderId = orderId;
		this.handler = handler;
	}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getHandler() {
		return handler;
	}

	public void setHandler(String handler) {
		this.handler = handler;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public int getStauts() {
		return stauts;
	}

	public void setStauts(int stauts) {
		this.stauts = stauts;
	}

	public String getReMark() {
		return reMark;
	}

	public void setReMark(String reMark) {
		this.reMark = reMark;
	}

	public String getAssignName() {
		return assignName;
	}

	public void setAssignName(String assignName) {
		this.assignName = assignName;
	}

	public String getCreatorNo() {
		return creatorNo;
	}

	public void setCreatorNo(String creatorNo) {
		this.creatorNo = creatorNo;
	}
}
